package org.grow.fund.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.grow.fund.domain.LoanBill;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.grow.fund.dto.LoanBillDto;

import java.util.List;

/**
 * @author xieweig
 * @description 针对表【LoanBill】的数据库操作Mapper
 * @createDate 2023-09-26 15:21:02
 * @Entity org.grow.fund.domain.LoanBill
 */
@Mapper
public interface LoanBillMapper extends BaseMapper<LoanBill> {

//    List<LoanBill> dynamicQueryForCompany(@Param("dto") LoanBillDto loanBillDto);

    IPage<LoanBill> dynamicQueryForCompany(IPage<LoanBill> page, @Param("dto") LoanBillDto loanBillDto);

    IPage<LoanBill> dynamicQueryForStaff(Page<LoanBill> page,@Param("dto") LoanBillDto loanBillDto);

    IPage<LoanBill> dynamicQueryForBank(Page<LoanBill> page, @Param("dto") LoanBillDto loanBillDto);
}




